package com.ayf.payment.game.api.service.platform;

import com.ayf.payment.game.api.dto.platform.MerchantSettleRateDTO;
import com.ayf.payment.game.api.dto.platform.MerchantSettleRateDTO2;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface MerchantSettleRateService{
@Transactional(rollbackFor = Exception.class)
void insertMerchantSettleRate(MerchantSettleRateDTO merchantSettleRateDTO);
@Transactional
void updateMerchantSettleRate(MerchantSettleRateDTO merchantSettleRateDTO);
@Transactional
void delMerchantSettleRate(Integer rateId);

List<MerchantSettleRateDTO> selectAll(Integer rateId);

    List<MerchantSettleRateDTO2> selectAll2();

    /**
     *
     * @author lch
     * @date 2022/3/7
     */
	MerchantSettleRateDTO getById(Integer id);
}
